package com.wang.service;

import com.wang.pojo.CustomerFeedback;
import com.wang.pojo.CustomerQuestion;
import com.wang.response.PageResult;
import com.wang.response.Result;
import com.wang.response.ResultResponse;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 *
 */
public interface CustomerQuestionService  {

    ResultResponse addQuestion(CustomerQuestion question);

    ResultResponse delQuestion(Integer questionId);

    ResultResponse queryQuestion(Map<String, Object> searchMap);


    PageResult<CustomerQuestion> searchQuestion(Integer pageNum, Integer pageSize, Map searchMap) throws IOException;
}
